package com.sx.pipeline.ui.linepipe.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.sx.pipeline.R
import com.sx.pipeline.repos.http.res.TerritoryVO
import com.sx.pipeline.repos.local.db.table.PipeFileBeanDO

/**
 * @Author: YY
 * @Date: 2022/8/5
 * @Desc: TODO
 */
class PipeLineListAdapter(dataList: MutableList<PipeFileBeanDO>): BaseQuickAdapter<PipeFileBeanDO, BaseViewHolder>(
    R.layout.item_territory_list, dataList) {

    override fun convert(holder: BaseViewHolder, item: PipeFileBeanDO) {
        holder.setText(R.id.tv_name, item.fileName)
    }
}